projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
35829a7
)
Make color picker circular
author
Matthias Clasen
<mclasen@redhat.com>
Sun, 5 Aug 2018 01:39:10 +0000
(21:39 -0400)
committer
Matthias Clasen
<mclasen@redhat.com>
Sun, 5 Aug 2018 01:42:28 +0000
(21:42 -0400)
The need for center alignment was pointed out by Timm Baeder.
gtk/ui/gtkcoloreditor.ui
patch
|
blob
|
history
diff --git
a/gtk/ui/gtkcoloreditor.ui
b/gtk/ui/gtkcoloreditor.ui
index 6840a276dbcb710ceec98d9d6296eaf3c6503f3e..4f7f90a4050f3be78751368c8546b719024a5b48 100644
(file)
--- a/
gtk/ui/gtkcoloreditor.ui
+++ b/
gtk/ui/gtkcoloreditor.ui
@@
-41,6
+41,8
@@
<child>
<object class="GtkButton" id="picker_button">
<property name="icon-name">color-select-symbolic</property>
+ <property name="halign">center</property>
+ <property name="valign">center</property>
<property name="tooltip-text" translatable="yes">Pick a color from the screen</property>
<signal name="clicked" handler="pick_color"/>
<style>